package com.example.designpattern.responsibility_two;

import com.example.model.GoodsDTO;
import org.springframework.core.Ordered;

/**
 * @author long
 * @date 2024/4/20 10:43
 */
public interface IValidator extends Ordered {

    void validate(GoodsDTO dto);

    IValidator setNext(IValidator next);

}
